<?php
  
  $memcache_obj = new Memcache;
  $memcache_obj->addServer('localhost', 11211);
  
  $stats = $memcache_obj->getExtendedStats();
  
  echo "<pre>";
  print_r($stats);
  echo "</pre>";
  
?>
